package cn.abcsys.cloud.devops.runtime.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

//@Component("systemConfig")
@Configuration
@PropertySource(value="classpath:config/system.properties")
public class SystemConfig {
	@Value("${kube.master.dns}")
	private String kubeMasterDns;
	@Value("${distribution.dns}")
	private String distributionDns;
	@Value("${share.path}")
	private String sharePath;

	public String getSharePath() {
		return sharePath;
	}

	public void setSharePath(String sharePath) {
		this.sharePath = sharePath;
	}
	public String getKubeMasterDns() {
		return kubeMasterDns;
	}
	public void setKubeMasterDns(String kubeMasterDns) {
		this.kubeMasterDns = kubeMasterDns;
	}

	public String getDistributionDns() {
		return distributionDns;
	}

	public void setDistributionDns(String distributionDns) {
		this.distributionDns = distributionDns;
	}
}
